"""
Task 2
The valid phone number program.
Make a program that checks if a string is in the right format for a phone
number. The program should check that the string contains only numerical characters and is only 10 characters long.
Print a suitable message depending on the outcome of the string evaluation.
"""
input_number = input("Enter phone number: ")


if len(input_number) != 10:
    print("Entered number's length is less than 10 characters")
elif not input_number.isdigit():
    print("Entered number contain not only numerical characters")
else:
    print("You entered a valid phone number")



